home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / batch.arc / CURSOFF.ASM < prev    next >
Encoding:
Assembly Source File  |  1986-01-04  |  768 b   |  58 lines

  1.  
  2. ;
  3.         page    60,132
  4.         title    Turn Cursor Off
  5. ;
  6. ;    Author: Marty Prahl
  7. ;    Date:   10-Dec-1984
  8. ;    Rev:    1.0
  9. ;
  10. ;    Copyright (c) 1984 by Marty Prahl
  11. ;
  12. ;    Abstract:
  13. ;
  14. ;    Calling Sequence:
  15. ;
  16. ;        A>CURSOFF
  17. ;
  18. ;
  19. ;----------------------------------------------------------------------
  20. ;
  21. ;    Cursor Off 
  22. ;
  23. ;----------------------------------------------------------------------
  24. ;
  25. code_seg    segment
  26.         assume    cs:code_seg,ds:code_seg
  27.  
  28. cursoff        proc    far
  29.  
  30.         mov    ch,20h        ; turn cursor off
  31.         mov    ah,1        ; set cursor type
  32.         int    10h        ; video interrupt
  33.  
  34.  
  35.         mov    al,0        ; no errorlevel
  36.         mov    ah,4ch        ; terminate
  37.         int    21h        ; dos interrupt
  38.  
  39. cursoff        endp
  40.  
  41. code_seg    ends
  42.         end    cursoff
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.